package cn.choujay.tlias.service;


import cn.choujay.tlias.domain.Emp;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

/**
 * @author Ye
 * @description 针对表【emp(员工表)】的数据库操作Service
 * @createDate 2023-05-20 20:52:38
 */
public interface EmpService {
    Emp getByIdEmp(String username);

    List<Emp> getAllEmp();

    Boolean addEmp(Emp emp);

    Boolean updateEmp(Emp emp);


    List<Emp> Search(String name, Integer gender, Date start, Date end);


    Boolean deleteEmp(Integer[] ids);
}
